Optimal. Leaf size=155 \[ -\frac {128 \sin ^5(a+b x) \cos ^9(a+b x)}{7 b}-\frac {160 \sin ^3(a+b x) \cos ^9(a+b x)}{21 b}-\frac {16 \sin (a+b x) \cos ^9(a+b x)}{7 b}+\frac {2 \sin (a+b x) \cos ^7(a+b x)}{7 b}+\frac {\sin (a+b x) \cos ^5(a+b x)}{3 b}+\frac {5 \sin (a+b x) \cos ^3(a+b x)}{12 b}+\frac {5 \sin (a+b x) \cos (a+b x)}{8 b}+\frac {5 x}{8} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 155, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4288, 2568, 2635, 8} \[ -\frac {128 \sin ^5(a+b x) \cos ^9(a+b x)}{7 b}-\frac {160 \sin ^3(a+b x) \cos ^9(a+b x)}{21 b}-\frac {16 \sin (a+b x) \cos ^9(a+b x)}{7 b}+\frac {2 \sin (a+b x) \cos ^7(a+b x)}{7 b}+\frac {\sin (a+b x) \cos ^5(a+b x)}{3 b}+\frac {5 \sin (a+b x) \cos ^3(a+b x)}{12 b}+\frac {5 \sin (a+b x) \cos (a+b x)}{8 b}+\frac {5 x}{8} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2568
Rule 2635
Rule 4288
Rubi steps
\begin {align*} \int \csc ^2(a+b x) \sin ^8(2 a+2 b x) \, dx &=256 \int \cos ^8(a+b x) \sin ^6(a+b x) \, dx\\ &=-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {640}{7} \int \cos ^8(a+b x) \sin ^4(a+b x) \, dx\\ &=-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {160}{7} \int \cos ^8(a+b x) \sin ^2(a+b x) \, dx\\ &=-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {16}{7} \int \cos ^8(a+b x) \, dx\\ &=\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+2 \int \cos ^6(a+b x) \, dx\\ &=\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {5}{3} \int \cos ^4(a+b x) \, dx\\ &=\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {5}{4} \int \cos ^2(a+b x) \, dx\\ &=\frac {5 \cos (a+b x) \sin (a+b x)}{8 b}+\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {5 \int 1 \, dx}{8}\\ &=\frac {5 x}{8}+\frac {5 \cos (a+b x) \sin (a+b x)}{8 b}+\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.26, size = 85, normalized size = 0.55 \[ \frac {105 \sin (2 (a+b x))-315 \sin (4 (a+b x))-63 \sin (6 (a+b x))+63 \sin (8 (a+b x))+21 \sin (10 (a+b x))-7 \sin (12 (a+b x))-3 \sin (14 (a+b x))+840 a+840 b x}{1344 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 87, normalized size = 0.56 \[ \frac {105 \, b x - {\left (3072 \, \cos \left (b x + a\right )^{13} - 7424 \, \cos \left (b x + a\right )^{11} + 4736 \, \cos \left (b x + a\right )^{9} - 48 \, \cos \left (b x + a\right )^{7} - 56 \, \cos \left (b x + a\right )^{5} - 70 \, \cos \left (b x + a\right )^{3} - 105 \, \cos \left (b x + a\right )\right )} \sin \left (b x + a\right )}{168 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.61, size = 95, normalized size = 0.61 \[ \frac {105 \, b x + 105 \, a + \frac {105 \, \tan \left (b x + a\right )^{13} + 700 \, \tan \left (b x + a\right )^{11} + 1981 \, \tan \left (b x + a\right )^{9} + 3072 \, \tan \left (b x + a\right )^{7} - 1981 \, \tan \left (b x + a\right )^{5} - 700 \, \tan \left (b x + a\right )^{3} - 105 \, \tan \left (b x + a\right )}{{\left (\tan \left (b x + a\right )^{2} + 1\right )}^{7}}}{168 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.41, size = 111, normalized size = 0.72 \[ \frac {-\frac {128 \left (\sin ^{5}\left (b x +a \right )\right ) \left (\cos ^{9}\left (b x +a \right )\right )}{7}-\frac {160 \left (\sin ^{3}\left (b x +a \right )\right ) \left (\cos ^{9}\left (b x +a \right )\right )}{21}-\frac {16 \sin \left (b x +a \right ) \left (\cos ^{9}\left (b x +a \right )\right )}{7}+\frac {2 \left (\cos ^{7}\left (b x +a \right )+\frac {7 \left (\cos ^{5}\left (b x +a \right )\right )}{6}+\frac {35 \left (\cos ^{3}\left (b x +a \right )\right )}{24}+\frac {35 \cos \left (b x +a \right )}{16}\right ) \sin \left (b x +a \right )}{7}+\frac {5 b x}{8}+\frac {5 a}{8}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 87, normalized size = 0.56 \[ \frac {840 \, b x - 3 \, \sin \left (14 \, b x + 14 \, a\right ) - 7 \, \sin \left (12 \, b x + 12 \, a\right ) + 21 \, \sin \left (10 \, b x + 10 \, a\right ) + 63 \, \sin \left (8 \, b x + 8 \, a\right ) - 63 \, \sin \left (6 \, b x + 6 \, a\right ) - 315 \, \sin \left (4 \, b x + 4 \, a\right ) + 105 \, \sin \left (2 \, b x + 2 \, a\right )}{1344 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.27, size = 149, normalized size = 0.96 \[ \frac {5\,x}{8}+\frac {\frac {5\,{\mathrm {tan}\left (a+b\,x\right )}^{13}}{8}+\frac {25\,{\mathrm {tan}\left (a+b\,x\right )}^{11}}{6}+\frac {283\,{\mathrm {tan}\left (a+b\,x\right )}^9}{24}+\frac {128\,{\mathrm {tan}\left (a+b\,x\right )}^7}{7}-\frac {283\,{\mathrm {tan}\left (a+b\,x\right )}^5}{24}-\frac {25\,{\mathrm {tan}\left (a+b\,x\right )}^3}{6}-\frac {5\,\mathrm {tan}\left (a+b\,x\right )}{8}}{b\,\left ({\mathrm {tan}\left (a+b\,x\right )}^{14}+7\,{\mathrm {tan}\left (a+b\,x\right )}^{12}+21\,{\mathrm {tan}\left (a+b\,x\right )}^{10}+35\,{\mathrm {tan}\left (a+b\,x\right )}^8+35\,{\mathrm {tan}\left (a+b\,x\right )}^6+21\,{\mathrm {tan}\left (a+b\,x\right )}^4+7\,{\mathrm {tan}\left (a+b\,x\right )}^2+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________